System And Method For Dynamically Adapting Network Delivery Modes Of Content

ABSTRACT

A content distribution network includes a first server in communication with an anycast server that provides content via a unicast signal, and with a multicast server that provides the content via a multicast signal. The first server is configured to receive a list of source addresses associated with the content, and to provide a metadata file including an anycast Internet protocol address of the anycast server from the list of source addresses as an Internet protocol address of the content in response to a first request for the content. When the number of client devices requesting the content exceeds a first threshold, the first server receives an updated list of sources including a multicast Internet protocol address of a multicast server, and provides the multicast Internet protocol address of the multicast server as the Internet protocol address of the content in the metadata file.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application claims priority to and is a continuation of U.S. patent application Ser. No. 14/848,898, filed on Sep. 9, 2015, which is a continuation of U.S. patent application Ser. No. 13/156,849, filed on Jun. 9, 2011, now U.S. Pat. No. 9,137,202, which are both herein incorporated by reference in their entireties.

FIELD OF THE DISCLOSURE

The present disclosure generally relates to communications networks, and more particularly relates to content delivery networks.

BACKGROUND

Packet-switched networks, such as networks based on the TCP/IP protocol suite, can distribute a rich array of digital content to a variety of client applications. One popular application is a personal computer browser for retrieving documents over the Internet written in the Hypertext Markup Language (HTML). Frequently, these documents include embedded content. Where once the digital content consisted primarily of text and static images, digital content has grown to include audio and video content as well as dynamic content customized for an individual user.

It is often advantageous when distributing digital content across a packet-switched network to divide the duty of answering content requests among a plurality of geographically dispersed servers. For example, popular Web sites on the Internet often provide links to “mirror” sites that replicate original content at a number of geographically dispersed locations. A more recent alternative to mirroring is content distribution networks (CDNs) that dynamically redirect content requests to a cache server situated closer to the client issuing the request. CDNs either co-locate cache servers within Internet Service Providers or deploy them within their own separate networks.

BRIEF DESCRIPTION OF THE DRAWINGS

It will be appreciated that for simplicity and clarity of illustration, elements illustrated in the Figures have not necessarily been drawn to scale. For example, the dimensions of some of the elements are exaggerated relative to other elements. Embodiments incorporating teachings of the present disclosure are shown and described with respect to the drawings presented herein, in which:

FIGS. 1-4 are block diagrams illustrating a content distribution network in accordance with an embodiment of the present disclosure;

FIGS. 5-7 are flow diagrams illustrating a method for providing content in the content distribution network;

FIGS. 8-10 are flow diagrams illustrating a method for controlling content sources in the content distribution network; and

FIG. 11 is an illustrative embodiment of a general computer system.

The use of the same reference symbols in different drawings indicates similar or identical items.

DETAILED DESCRIPTION OF THE DRAWINGS

The numerous innovative teachings of the present application will be described with particular reference to the presently preferred exemplary embodiments. However, it should be understood that this class of embodiments provides only a few examples of the many advantageous uses of the innovative teachings herein. In general, statements made in the specification of the present application do not necessarily limit any of the various claimed inventions. Moreover, some statements may apply to some inventive features but not to others.

FIGS. 1-4 illustrate a content distribution network (CDN) 100 that can be used in conjunction with a communications network such as the Internet. The CDN 100 can include a content transport management (CTM) server 102, a source locator list (SLL) server 104, a content source multicast server 106, content source anycast servers 108, 110, 112, and 114, and client devices 116, 118, 120, 122, 124, 126, 128, and 130. The CDN 100 can provide content to the client devices 116-130 via multiple delivery modes, such as a unicast mode, a multicast mode, a peer-to-peer mode, and the like. The CTM server 102 is in communication with the SLL server 104, with the multicast server 106, and with the anycast servers 108-114. The SLL server 104 can communicate with the client devices 116-130.

The multicast server 106 can communicate with the client devices 116-130 to provide a multicast stream of content to the client devices. Similarly, each of the anycast servers 108-114 can communicate with the client devices 116-130 to provide a unicast stream of the content to the client devices. A single anycast IP address can be assigned to each of the anycast servers 108-114, such that the anycast server that is closest to a requesting client device can provide the unicast stream of content to that client device. The closest anycast server may be the anycast server having a shortest network distance, a lowest network cost, a lowest network latency, a highest link capacity, a lowest load, or any combination thereof.

The CTM server 102 can receive load information from the multicast server 106 and the anycast servers 108-114. The load information can include available bandwidth, bandwidth utilization, CPU utilization, memory utilization, number of requests being served, or the like. The multicast server 106 can advertise, such as through Border Gateway Protocol (BGP), a multicast IP address for the multicast server to the CTM server 102. Similarly, the anycast servers 108-114 can advertise a shared anycast address to the CTM server 102 via BGP. The CTM server 102 can provide either the multicast address, the anycast address, a local peer IP address, or any combination thereof as the source address for particular content and/or for error recovery to the client devices 116-130.

The multicast server 106 and the anycast servers 108-114 of the CDN 100 can provide the client devices 116-130 with different types of content, such as software files, video-on-demand files, music files, or the like. Each item of content can divided into a number of blocks. The blocks can be divided into equal sizes, and can be indexed with the order of the blocks within the content file. The structure and order of the blocks of the content file can be stored in a metadata file, which can include a file descriptor for the content file, a list of sources for the content file, and other information about the content file. The file descriptor can include file identification (ID), a number of blocks and the sequence of the blocks in the content file. The list of sources can include IP addresses for unicast sources, multicast sources, local peer sources, and the like.

During operation, the SLL server 104 can monitor current statistics for the content, such as a number of the client devices 116-130 that are receiving the content, a rate of requests for the content, and the like. The SLL server 104 can send the current statistics for the content to the CTM server 102, which in turn can create a source list 132 based on the current statistics for the content. For example, the SLL server 104 can indicate that the number of client devices 116-130 receiving the content is below a high threshold. The CTM server 102 can create the source list 132 with an anycast IP address, associated with the anycast servers 108-114, as a primary source address for the content. The anycast servers 108-114 can be unicast servers, such that each of the anycast servers can provide a different unicast address to the CTMserver 102 via BGP.

The CTM server 102 can provide the source list 132 to the SLL server 104, which in turn can include the source list 132 as part of the metadata file for the content. The SLL server 104 can then provide the metadata file associated with the content to a client device that is requesting the content. The SLL server 104 can dynamically update the metadata file, and can provide the updated metadata file to the client devices 116-130 so that the client devices can have a current list of sources for the content. The requesting client device, such as client device 118, can utilize the metadata file to determine that the anycast IP address is the source address for the content.

The client device 118 can then connect to the anycast server 108-114 that is nearest to the client device based on the anycast IP address in the metadata file received from the SLL server 104. The metadata file can have a time-to-live (TTL) period associated with it, so that the source address for the content can be continually updated. When the TTL period has expired, the client device 118 can request the metadata file from the SLL server 104 again.

When the source list 132 in the metadata file only includes the anycast IP address, the anycast servers 108-114 can be the primary source address for the content, and can be a source address for error recovery. In another embodiment, unicast addresses for each of the anycast servers 108-114 can be listed as the primary sources for the content in the metadata file. The anycast servers 108-114 can provide the client devices 116-130 with the entire content file via a unicast stream containing individual blocks of the content file from the anycast server nearest to the requesting client device. The blocks of the content file can be received in any order, and the client device 118 can use the sequence of the blocks in the metadata file to reconstruct the content file. While reconstructing the content file, the client device 118 may detect an error in one or more blocks of the content file, and can then request those blocks from the anycast server 110 again. The anycast can then deliver the requested block or blocks to the client device 118.

Referring now to FIG. 2, the CTM server 102 can continue to receive the number of client devices requesting the content file from the SLL server 104. When the CTM server 102 detects that the number of client devices receiving the content has exceeded the high threshold, the CTM server can send a signal to enable the multicast server 106. The CTM server 102 can then provide the SLL server 104 with an updated source list 232, which includes both the anycast IP address and the multicast IP address. The updated source list 232 can indicate that the anycast IP address can be the source address for the first few blocks of the content file, that the multicast IP address can be the primary source address for the remainder of the content file, and that the anycast IP address can be the source address for error recovery. The SLL server 104 can provide the updated source list to the client devices 116-130 as part of the metadata file.

The client device 126 can utilize the updated source list 232 to determine the source IP addresses for the content. That is, the client device 126 can connect to an anycast server having the anycast IP address that is nearest to the client device, such as anycast server 112, to receive the first few blocks of the content. The anycast server 112 can then provide the client device 126 with a unicast signal containing blocks of the content. The anycast servers 108-114 can be used to provide the first few block, because the anycast servers can generally provide faster initial access to the blocks of the content than the multicast server 106. The client device 126 can determine that the multicast IP address should be used after the client device has received a few of the blocks of the content based on the updated source list 232. The client device 126 can then connect to the multicast server 106, which in turn can provide a multicast signal containing blocks of the content file to the client device. When the client device 126 begins to receive the multicast signal, the client device can stop receiving the unicast signal from the anycast server 112.

While the client device 126 is receiving blocks of content file, the client device can determine whether one or more of the blocks of content have an error. If a block is detected as having an error, the client device 126 can connect to the anycast server 112 to receive that block of the content again. In another embodiment, there can be multiple multicast servers, such that each of the multicast servers can provide redundancy for the other multicast servers for error recovery instead of the anycast servers 108-114.

Now referring to FIG. 3, each time one of the client devices 116-130 requests the content, the SLL server 104 can detect an IP address and a zone of the CDN 100 associated with that client device. The SLL server 104 can then provide the IP address and the zone of the CDN 100 for that client device to the CTM server 102, which in turn can store this information as a list of IP addresses of local peer sources for a zone of the network 100. The CTM server 102 can create an updated source list 332, which can include the anycast IP address, the multicast IP address, and local peer IP addresses each as different source addresses. The updated source list 332 can indicate that the anycast IP address should be used for the first few blocks of the content, that the multicast IP address should be used for the remainder of the content, and the local peer IP addresses in the zone of the CDN 100 associated with the client device should be used for error recovery.

The CTM server 102 can then return the updated source list 332 to the SLL server 104, which in turn can provide the updated source list to the client devices 116-130. A client device, such as client device 118, can then utilize the updated source list 332 to determine source addresses for the content. That is, the client device 118 can connect to an anycast server, such as anycast server 108, having the anycast IP address that is nearest to the client device to receive the first few blocks of the content. The anycast server 108 can then provide the client device 118 with a unicast signal containing blocks of the content.

The client device 118 can then connect to the multicast server 106, which in turn can provide a multicast signal containing the blocks of the content to the client device. When the client device 118 begins to receive the multicast signal, the client device can stop receiving the unicast signal from the anycast server 108. If the client device 118 determines that one or more of the blocks of content have an error while the content file is being received, the client device can connect to the client device 116 associated with the local peer IP address in the updated source list 332 to receive those blocks of the content. The client device 116 can then provide the client device 118 with the requested blocks of content via a peer-to-peer connection.

Referring now to FIG. 4, when the CTM server 102 detects that the number of client devices receiving the content has dropped below a low threshold, the CTM server can send a signal to disable the multicast server 106. The CTM server 102 can then provide the SLL server 104 with an updated source list 432 to include remove the multicast IP address, such that only the anycast IP address and local peer IP addresses are listed as source addresses for the content. The updated source list 432 can indicate that the anycast IP address should be used for receiving all of the content, and that the local peer IP address in the zone of the CDN 100 associated with the client device should be used for error recovery. The SLL server 104 can then provide the updated source list to the client devices 116-130.

The client device 130 can then utilize the updated source list 432 to determine the source IP addresses for the content. That is, the client device 130 can connect to an anycast server, such as anycast server 114, having the anycast IP address that is nearest to the client device to receive the content. The anycast server 114 can then provide the client device 130 with a unicast signal containing blocks of the content. If the client device 130 determines that one or more of the blocks of content have an error, the client device can connect to a local peer, such as client device 128, having an IP address listed in the updated source list 432 to receive those blocks of data again. The client device 128 can then provide the client device 130 with the requested blocks of content via a peer-to-peer connection.

While the receiving of the blocks of content has only been described with respect to particular client devices, it should be understood that each of the client devices 116-130 can receive the blocks of content in a substantially similar modes using the metadata file received from the SLL server 104. In another embodiment, the anycast servers 114 can provide all of a content file and error recovery to the client device 116-130 via a unicast stream when access control features have been set for the content file. In this situation, the client device 120 can request the content via the anycast IP address, and can provide the anycast server 114 with authentication information associated with the content. The anycast server 114 can verify the authentication information and then provide the content to the client device 120 via the unicast signal.

FIGS. 5-7 illustrate a method 500 for providing content in the content distribution network system. At block 502, a number of client devices requesting content is received at a first server. The request can be received from a client device, such as a personal computer, a personal digital assistant, a smart cellular telephone, and the like. The first server can be the CTM server discussed above. An anycast IP address is provided as an IP address of the content at block 504. The content can be delivered via a unicast signal from an anycast server having the anycast IP address. The anycast server that delivers the content can be a cache server that is nearest in the network to the client device requesting the content. In another embodiment, a unicast IP address can be provided instead of the anycast IP address as the IP address of the content. At block 506, a determination is made that the number of client device requesting the content has exceeded a first threshold. A multicast server is enabled when the number of client devices requesting has exceeded the first threshold at block 508.

At block 510, a multicast channel of the multicast server is allocated for delivery of the content. A list of sources is updated to include a multicast IP address of the multicast channel at block 512. The multicast IP address can be set as a primary source address of the content. The multicast address of the multicast channel can provided as the address of the content. At block 514, a determination is made that the number of client devices requesting the content has fallen below a second threshold. The multicast server is disabled when the number of client devices requesting the content has fallen below the second threshold at block 516. The multicast channel is de-allocated at block 518. At block 520, the list of sources is updated by removing the multicast IP address of the multicast channel.

Referring now to FIG. 6, in one embodiment the anycast IP address is provided as a source address for error recovery at block 522.

Referring now to FIG. 7, in another embodiment an IP address of a peer device is provided as a source address for error recovery at block 524.

FIGS. 8-10 are a flow diagram illustrating a method for controlling content sources in the content distribution network system. At block 802, a list of sources associated with content is received at a first server. A metadata file including an anycast IP address from the list of sources is provided as an IP address of the content at block 804. At block 806, a number of client devices requesting the content is monitored. At block 808, the number of client devices requesting the content is sent to a second server.

At block 810, an updated list of sources including a multicast IP address of the multicast channel is received when the number of client devices requesting the content has exceeded a first threshold. The metadata file is updated to include the multicast IP address of the multicast channel as a primary source of the content at block 812. At block 814, an updated list of sources with the multicast IP address of the multicast channel removed is received when the number of client devices requesting the content has fallen below a second threshold. The metadata file is updated to replace the multicast IP address of the multicast channel with the anycast IP address as the primary source address of the content at block 816.

Referring now to FIG. 9, in one embodiment the metadata file is updated to include the anycast IP address as a source address for error recovery at block 818.

Referring now to FIG. 10, IP addresses of client devices that request the content are detected at block 820. At block 822, the IP addresses of the client devices are provided to the second server. Another updated list of sources with a list of the IP addresses of the client devices as source address for error recovery is received at block 824. At block 826, the metadata file is updated to include the IP addresses of the client devices as the source address for error recovery.

FIG. 11 shows an illustrative embodiment of a general computer system 1100. The computer system 1100 can include a set of instructions that can be executed to cause the computer system to perform any one or more of the methods or computer based functions disclosed herein. The computer system 1100 may operate as a standalone device or may be connected, such as by using a network, to other computer systems or peripheral devices.

In a networked deployment, the computer system may operate in the capacity of a server or as a client user computer in a server-client user network environment, or as a peer computer system in a peer-to-peer (or distributed) network environment. The computer system 1100 can also be implemented as or incorporated into various devices, such as a personal computer (PC), a tablet PC, an STB, a personal digital assistant (PDA), a mobile device, a palmtop computer, a laptop computer, a desktop computer, a communications device, a wireless telephone, a land-line telephone, a control system, a camera, a scanner, a facsimile machine, a printer, a pager, a personal trusted device, a web appliance, a network router, switch or bridge, or any other machine capable of executing a set of instructions (sequential or otherwise) that specify actions to be taken by that machine. In a particular embodiment, the computer system 1100 can be implemented using electronic devices that provide voice, video or data communication. Further, while a single computer system 1100 is illustrated, the term “system” shall also be taken to include any collection of systems or sub-systems that individually or jointly execute a set, or multiple sets, of instructions to perform one or more computer functions.

The computer system 1100 may include a processor 1102, such as a central processing unit (CPU), a graphics processing unit (GPU), or both. Moreover, the computer system 1100 can include a main memory 1104 and a static memory 1106 that can communicate with each other via a bus 1108. As shown, the computer system 1100 may further include a video display unit 1110 such as a liquid crystal display (LCD), an organic light emitting diode (OLED), a flat panel display, a solid state display, or a cathode ray tube (CRT). Additionally, the computer system 1100 may include an input device 1112 such as a keyboard, and a cursor control device 1114 such as a mouse. The computer system 1100 can also include a disk drive unit 1116, a signal generation device 1118 such as a speaker or remote control, and a network interface device 1120 to communicate with a network 1126. In a particular embodiment, the disk drive unit 1116 may include a computer-readable medium 1122 in which one or more sets of instructions 1124, such as software, can be embedded. The computer-readable medium can be a non-transitory computer readable medium, such as a hard disk drive, a flash memory, a read-only memory, a compact disk, a digital versatile disk, a cache, a random-access memory, and the like. Further, the instructions 1124 may embody one or more of the methods or logic as described herein. In a particular embodiment, the instructions 1124 may reside completely, or at least partially, within the main memory 1104, the static memory 1106, and/or within the processor 1102 during execution by the computer system 1100. The main memory 1104 and the processor 1102 also may include computer-readable media.

The illustrations of the embodiments described herein are intended to provide a general understanding of the structure of the various embodiments. The illustrations are not intended to serve as a complete description of all of the elements and features of apparatus and systems that utilize the structures or methods described herein. Many other embodiments may be apparent to those of skill in the art upon reviewing the disclosure. Other embodiments may be utilized and derived from the disclosure, such that structural and logical substitutions and changes may be made without departing from the scope of the disclosure. Additionally, the illustrations are merely representational and may not be drawn to scale. Certain proportions within the illustrations may be exaggerated, while other proportions may be minimized. Accordingly, the disclosure and the FIGs. are to be regarded as illustrative rather than restrictive.

The Abstract of the Disclosure is provided to comply with 37 C.F.R. §1.72(b) and is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. In addition, in the foregoing Detailed Description of the Drawings, various features may be grouped together or described in a single embodiment for the purpose of streamlining the disclosure. This disclosure is not to be interpreted as reflecting an intention that the claimed embodiments require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter may be directed to less than all of the features of any of the disclosed embodiments. Thus, the following claims are incorporated into the Detailed Description of the Drawings, with each claim standing on its own as defining separately claimed subject matter.

The above disclosed subject matter is to be considered illustrative, and not restrictive, and the appended claims are intended to cover all such modifications, enhancements, and other embodiments which fall within the true spirit and scope of the present disclosed subject matter. Thus, to the maximum extent allowed by law, the scope of the present disclosed subject matter is to be determined by the broadest permissible interpretation of the following claims and their equivalents, and shall not be restricted or limited by the foregoing detailed description. 

What is claimed is:
 1. A system, comprising: a memory that stores instructions; a processor that executes the instructions to perform operations, the operations comprising: providing a metadata file that, when a number of client devices requesting content exceeds a first threshold, includes: an anycast internet protocol address for obtaining a first portion of the content; and a multicast internet protocol address for obtaining a second portion of the content.
 2. The system of claim 1, wherein the operations further comprise determining the number of client devices requesting the content.
 3. The system of claim 1, wherein the operations further comprise generating the metadata file.
 4. The system of claim 1, wherein the operations further comprise allocating a multicast channel associated with the multicast internet protocol address when the number of the client devices requesting the content exceeds the first threshold.
 5. The system of claim 1, wherein the operations further comprise utilizing the anycast internet protocol address as a source address for error recovery.
 6. The system of claim 1, wherein the operations further comprise updating the metadata file after a period of time.
 7. The system of claim 1, wherein the operations further comprise determining internet protocol addresses of the client devices that request the content.
 8. The system of claim 1, wherein the operations further comprise monitoring a rate of requests for the content.
 9. The system of claim 1, wherein the operations further comprise receiving a list of source addresses associated with the content.
 10. The system of claim 1, wherein the operations further comprise de-allocating a multicast channel associated with the multicast internet protocol address when the number of client devices requesting the content has fallen below a second threshold.
 11. The system of claim 1, wherein the operations further comprise enabling a multicast server associated with the multicast internet protocol address when the number of client devices requesting the content exceeds the first threshold.
 12. The system of claim 1, wherein the operations further comprise providing an internet protocol address of a peer device as a source address for error recovery in the metadata file.
 13. The system of claim 1, wherein the operations further comprise determining that the number of client devices requesting the content has fallen below a second threshold.
 14. The system of claim 13, wherein the operations further comprise disabling a multicast server associated with the multicast internet protocol address when the number of client devices requesting the content has fallen below the second threshold.
 15. A method, comprising: transmitting, by utilizing instructions from a memory that are executed by a processor, a metadata file that, when a number of client devices requesting content exceeds a first threshold, includes: an anycast internet protocol address for obtaining a first portion of the content; and a multicast internet protocol address for obtaining a second portion of the content.
 16. The method of claim 15, further comprising de-allocating a multicast channel associated with the multicast internet protocol address when the number of client devices requesting the content has fallen below a second threshold.
 17. The method of claim 15, further comprising allocating a multicast channel associated with the multicast internet protocol address when the number of the client devices requesting the content exceeds the first threshold.
 18. The method of claim 15, further comprising determining the number of client devices requesting the content.
 19. The method of claim 15, further comprising generating the metadata file.
 20. A non-transitory computer-readable medium comprising instructions, which, when loaded and executed by a processor, cause the processor to perform operations, the operations comprising: providing a metadata file that, when a number of client devices requesting content approaches a first threshold, includes: an anycast internet protocol address for obtaining a first portion of the content. 